package pe.edu.upc.qwerty.movil;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class FrmAsiento extends Activity{
	
	private static final String TAG = "FrmDetalle";
	private Button btnAsientos = null;
	String lon =""; 
    String lat = "";
    String dir = "";
    
	@Override
    public void onCreate(Bundle savedInstanceState) {		
        super.onCreate(savedInstanceState);        
        setContentView(R.layout.vuelo);
        Log.d(TAG, "inicia el frmDetalle");
        btnAsientos = (Button)findViewById(R.id.btnVuelo);
        TextView txtVuelo = (TextView)findViewById(R.id.lblVuelo);
        TextView txtaerolinea = (TextView)findViewById(R.id.lblAerolinea);
        TextView lblciudad = (TextView)findViewById(R.id.lblCiudad);
        TextView lbllegada = (TextView)findViewById(R.id.lblLlegada);
        TextView lblsalida = (TextView)findViewById(R.id.lblSalida);
                
        Bundle bundle = getIntent().getExtras();
               
        txtVuelo.setText(bundle.getString("vuelo"));
        txtaerolinea.setText(bundle.getString("aerolinea"));
        lblciudad.setText(bundle.getString("ciudad"));
        lbllegada.setText(bundle.getString("llegada"));
        lblsalida.setText(bundle.getString("salida"));
             
        Log.d(TAG, "colcada la indormacion");
        btnAsientos.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {
			
			}
		});
        
    }
	
}

